<!DOCTYPE html>
<html lang="en" xmlns:wicket>
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<ul>
    <li wicket:id="list"><span wicket:id="panel"></span></li>
</ul>
</body>
</html>

<wicket:fragment name="fragment1">panel 1</wicket:fragment>
<wicket:fragment name="fragment1">panel 2</wicket:fragment>